UA 5892 then QF 3654 at San Francisco
Monterey → San Francisco → New York JFK
Timetable, San Francisco time
11:01UA 5892 from Monterey at the gate
07:00QF 3654 to New York JFK leaves the gate
19 h 59 apart on the timetable, overnight
QF 3654 leaves 19 h 59 after UA 5892 arrives on the timetable: more than half a day, so not a connection we count.