State tax filing

Thank you @TomD8.

How should I allocate IRA contributions, interest, dividends and my foreign income? Should we allocate those to the main resident state or part year/nonresident return according to time it was paid or received?

Example, we lived in January - February in NYC (Part year resident) and 10 months in NJ.

I contributed to my IRA in February, wife in March, should I allocate those contributions 50% to NY nonresident tax return and 50% to NJ, or allocate to NY state and take credit on NJ return?  I prefer to take IRA deductions on my NY state tax because they can't be deducted on NJ return, but I'll follow the rules.

Thank you,