WN 9003 then SQ 1491 at San Francisco
Phoenix → San Francisco → New York JFK
Timetable, San Francisco time
11:18WN 9003 from Phoenix at the gate
06:00SQ 1491 to New York JFK leaves the gate
18 h 42 apart on the timetable, overnight
SQ 1491 leaves 18 h 42 after WN 9003 arrives on the timetable: more than half a day, so not a connection we count.