The biggest issue will be getting through immigration. If you have Global Entry you're ahead of the game. If not, do as CL suggested and download the Mobile Passport Control app, set it up, and get used to it prior to your trip. It the immigration area is busy, MPC will save you a lot of time.
You will also need to go through security agan so if you have TSA Precheck you will also save time.
Since your flights are all on Delta you will arrive and depart from T4. However, the terminal is huge and the walks can be long. You might want to become familiar with the gate layout for the terminal as well as the shuttle bus stops around the terminal prior to using it so you know what to expect between gates.
These links might help you:
https://www.jfkt4.nyc/faq/connecting-flights/
https://www.flyertalk.com/forum/delta-air-lines-skymiles/2140547-jfk-terminal-4-intil-dom-connection.html