WN 162 then AA 4 at LAX
Phoenix → Los Angeles → New York JFK
Timetable, Los Angeles time
14:30WN 162 from Phoenix at the gate
13:40AA 4 to New York JFK leaves the gate
23 h 10 apart on the timetable, overnight
AA 4 leaves 23 h 10 after WN 162 arrives on the timetable: more than half a day, so not a connection we count.