Take the NYAS shuttle bus from terminal to Penn Station (or Airtrain from terminal to Jamaica Station and then either E subway or LIRR to Penn Station) and then NJ Transit train to Secaucus Junction; I believe all NJ Transit trains from Penn Station stop there.
Take the NYAS shuttle bus