Retirement tax questions

NJ goes by the taxable amount.

If you had pre-tax contributions to a 401k or other similar pension plan,

that will show up in the taxable amount being smaller than the box 1 distribution.

Otherwise, if you have to apply either of the two "Rules", then also NJ will not tax the excluded amount.