You should file NJ state tax as resident. The tax you paid to NYC can be deducted from NJ tax as a credit. Therefore, you should not owe much.