WN 4004 then WN 3502 at Phoenix
Santa Ana → Phoenix → San Diego
Timetable, Phoenix time
12:05WN 4004 from Santa Ana at the gate
11:10WN 3502 to San Diego leaves the gate
23 h 05 apart on the timetable, overnight
WN 3502 leaves 23 h 05 after WN 4004 arrives on the timetable: more than half a day, so not a connection we count.