I don't know if this is the easiest way to go, but you can take an AirTrain/PATH from the airport into Manhattan, subway to Queens right by JFK, and then another short AirTrain to the airport. There are probably easier ways, but I imagine they may be more expensive