You will not have enough time. Remember that your flight generally boards almost an hour before the actual departure time, while the doors close 15 minutes before departure on domestic flights. On international flights, you should be at the gate no later than 30 minutes before departure. Your fastest route into NYC would be via train, which would require you to exit the terminal, get on the Air Train to take the Amtrak or NJ Transit train into the city. Remember that this requires you to EXIT security and REENTER, so you will need to wait and get screened by the TSA again.
Fugggetaboutit
NO way!