F9 3381 then QF 3654 at San Francisco
San Diego → San Francisco → New York JFK
Timetable, San Francisco time
12:51F9 3381 from San Diego at the gate
07:00QF 3654 to New York JFK leaves the gate
18 h 09 apart on the timetable, overnight
QF 3654 leaves 18 h 09 after F9 3381 arrives on the timetable: more than half a day, so not a connection we count.