Yes you have to you will pass through Immigration and customs and then you can use Airtrain to get to terminal 4 and also even if your airline booked your luggage for your onward flight still you have to collect your checked baggage and go through custums Airline will not send your luggage to your next flight. You didn't mention where you are coming from anyways good luck and Welcome to USA.
The flight arrives JFK at terminal 4. You are there when you arrive...
To transfer from JFK Terminal 7 to Terminal 4, you can take the AirTrain, which is a free shuttle service that connects all terminals at JFK Airport. Simply follow the signs for AirTrain once you exit Terminal 7, and board the train heading towards Terminal 4. The journey takes about 10 minutes.
To travel from Terminal 4 to Terminal 7 at JFK Airport, the best way is to take the AirTrain. The AirTrain is a free shuttle service that connects all terminals at JFK Airport. You can board the AirTrain at Terminal 4 and ride it to Terminal 7 without needing to exit the airport or go through security again.
To get from Terminal 4 to Terminal 2 at JFK Airport, you can take the AirTrain. The AirTrain is a free shuttle service that connects all terminals at JFK Airport. You can board the AirTrain at Terminal 4 and ride it to Terminal 2.
Terminal 4
Terminal 1
Terminal 8
The best way to travel from Terminal 7 to Terminal 4 at JFK Airport is to take the AirTrain.
Terminal 3
Terminal 1
5
To get from JFK Terminal 4 to Terminal 7, you can take the AirTrain, which is a free shuttle service that connects all terminals at JFK Airport. Simply follow the signs for AirTrain at Terminal 4 and board the train heading towards Terminal 7. The journey takes about 10-15 minutes.