Two W2s for same state

I have a total of 5 W2s (or 3 pages of the same W2): 

Federal

NJ State

PA State

NJ State

Local (PA) 

 

I try to put 2 NJs in under the same W2 in turbotax but it says I only should have 1 for each state. 

 

I'm even more confused because the NJ+PA+NJ don't add up to the federal. It's off by about 1800. 

 

Federal: ~52000

NJ: ~35000

PA: ~15000

NJ: ~3000

 

Do I add the NJs into one?

Do two separate W2s? 

 

We moved from NJ to PA and likewise moved jobs from NJ to PA.