AA 9908 then UA 2058 at Phoenix
Palm Springs → Phoenix → San Diego
Timetable, Phoenix time
09:00AA 9908 from Palm Springs at the gate
05:10UA 2058 to San Diego leaves the gate
20 h 10 apart on the timetable, overnight
UA 2058 leaves 20 h 10 after AA 9908 arrives on the timetable: more than half a day, so not a connection we count.