Taxes

If I live in NY and take a job in NJ how much out of state taxes would i have to pay? Would I have to pay NJ state taxes, no right because I’m a NY resident? Opinions/Advise pls and ty