UA 1948 then QR 8796 at San Francisco
Cancún → San Francisco → San Diego
Timetable, San Francisco time
16:52UA 1948 from Cancún at the gate
11:53QR 8796 to San Diego leaves the gate
19 h 01 apart on the timetable, overnight
QR 8796 leaves 19 h 01 after UA 1948 arrives on the timetable: more than half a day, so not a connection we count.