Pay no attention to JFK-Specialist, he doesn't know diddly. Take AirTrain from terminal to Jamaica Station, transfer to either LIRR (faster but more than subway) or E subway to Penn Station. From there take NJ Transit train to Wayne/Rt 23 Transit Center (transfer at Montclair). Late night trains run every 1.5 hours or so. See www.njtransit.com for details.
Pay no attention to