WN 4104 then AS 40 at San Francisco
Phoenix → San Francisco → New York JFK
Timetable, San Francisco time
23:45WN 4104 from Phoenix at the gate
23:00AS 40 to New York JFK leaves the gatealso QR 2080, QR 2137
23 h 15 apart on the timetable, overnight
AS 40 leaves 23 h 15 after WN 4104 arrives on the timetable: more than half a day, so not a connection we count.