AA 1504 then WN 4104 at Phoenix
Newark → Phoenix → San Diego
Timetable, Phoenix time
20:51AA 1504 from Newark at the gate
19:30WN 4104 to San Diego leaves the gate
22 h 39 apart on the timetable, overnight
WN 4104 leaves 22 h 39 after AA 1504 arrives on the timetable: more than half a day, so not a connection we count.