AirTrain connects all terminals. Air France is T-1 and JetBlue is T-5. AirTrain runs about every 6 minutes and takes about 2 minutes between terminals - T5/6 is one stop, then T7 then T8 then T1 - so allow 15 minutes to transfer terminals. That gives you 45 minutes to collect your luggage and absorb any arrival delays.
AirTrain connects all