Hey! From JFK, take the JFK AirTrain ($5) to Jamaica or Archer Avenue subway stop, where you pick up the E Train ($2) to Manhattan. This runs express. Follow the E all the way to the last stop, at World Trade Center. There, take the PATH ($1.50) to Newark Penn, no transfers. If going to the Newark Airport, take the first NJ Transit commuter train to Newark Airport Stop ($7) and then Newark AirTrain ($5) into the airport. Total trip is $20.50 and between 90-120 minutes depending on transfers. For about $15 more, you can cut the trip time in half by bypassing the NYC Subway and PATH, and instead taking the LIRR from Jamaica stop to NY Penn Station, and the NJ Transit commuter train from NY Penn Station to Newark Airport stop.
to newark