Most states (CA being one...) don't cross reference social security numbers.
That's an IRS --> Social Security Admin function.
You should still (probably?) amend the NJ return to correct the issue, but I doubt the return is going to be rejected. But them there right coast states do things differently. 😀
If a post answers your question, click on *Accept as solution* for future searches