It's not enough time.
Especially since (1) you're coming from abroad and don't know what security will be (plus origin could pose issues), and (2) JFK could be a nightmare of walking or shuttle to gate - it took me 15 minutes from the center of T4 to gate B55.
https://www.way.com/jfk/jfk-terminal-map/terminal-4