As others have said, not really a good idea. 6 hours is not really that much time between flights imo. Plan on sitting in front of your laptop instead. jfk to nerwark is a gamble if you sight see. If you're flying international, you should give yourself 2 hours before flight time to get to the terminal.