UA 1118 then UA 8120 at San Francisco
Cancún → San Francisco → San Diego
Timetable, San Francisco time
21:08UA 1118 from Cancún at the gate
18:00UA 8120 to San Diego leaves the gate
20 h 52 apart on the timetable, overnight
UA 8120 leaves 20 h 52 after UA 1118 arrives on the timetable: more than half a day, so not a connection we count.