AC 4339 then QF 3654 at San Francisco
Fresno → San Francisco → New York JFK
Timetable, San Francisco time
13:15AC 4339 from Fresno at the gate
07:00QF 3654 to New York JFK leaves the gate
17 h 45 apart on the timetable, overnight
QF 3654 leaves 17 h 45 after AC 4339 arrives on the timetable: more than half a day, so not a connection we count.