Get your taxes done using TurboTax

Possibly none of them. Did you live in NJ for about a fourth of the year?

You worked in NY for the full year, so your income is taxable for the entire year there.

During the time you lived in NJ, your NY income was taxable by NJ as well (though they should allow a credit for tax paid to NY).