More specifically, take a Jamaica- or Howard Beach-bound AirTrain one stop from T5 to T7. The ride takes about two minutes. (If you mistakenly board an "All Terminals" AirTrain, you'll be taking the long way around, and the ride will take about ten minutes.)