Yes. Remove the NY state wage amount so that the NJ is amount is used in your resident NJ return.
As for the different wage amounts, typically, the difference is because New Jersey does not allow you to exclude from NJ wages, amounts you contribute to deferred compensation and retirement plans, other than 401(k) Plans. Whereas the IRS and NY do exclude those amounts from taxable wages in box 1 and the NY box 16.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"