UA 5542 then AA 2801 at LAX
Palm Springs → Los Angeles → Cancún
Timetable, Los Angeles time
08:37UA 5542 from Palm Springs at the gate
08:26AA 2801 to Cancún leaves the gate
23 h 49 apart on the timetable, overnight
AA 2801 leaves 23 h 49 after UA 5542 arrives on the timetable: more than half a day, so not a connection we count.