JU 8510 then QF 4864 at San Francisco
New York JFK → San Francisco → Phoenix
Timetable, San Francisco time
23:54JU 8510 from New York JFK at the gate
19:05QF 4864 to Phoenix leaves the gate
19 h 11 apart on the timetable, overnight
QF 4864 leaves 19 h 11 after JU 8510 arrives on the timetable: more than half a day, so not a connection we count.