NH 7007 then QF 4864 at San Francisco
Newark → San Francisco → Phoenix
Timetable, San Francisco time
09:30NH 7007 from Newark at the gate
05:50QF 4864 to Phoenix leaves the gate
20 h 20 apart on the timetable, overnight
QF 4864 leaves 20 h 20 after NH 7007 arrives on the timetable: more than half a day, so not a connection we count.