FJ 5853 then QF 3654 at San Francisco
Palm Springs → San Francisco → New York JFK
Timetable, San Francisco time
18:23FJ 5853 from Palm Springs at the gate
07:00QF 3654 to New York JFK leaves the gate
12 h 37 apart on the timetable, overnight
QF 3654 leaves 12 h 37 after FJ 5853 arrives on the timetable: more than half a day, so not a connection we count.