UA 573 then QF 3654 at San Francisco
Burbank → San Francisco → New York JFK
Timetable, San Francisco time
17:50UA 573 from Burbank at the gatealso AC 3990
07:00QF 3654 to New York JFK leaves the gate
13 h 10 apart on the timetable, overnight
QF 3654 leaves 13 h 10 after UA 573 arrives on the timetable: more than half a day, so not a connection we count.