UA 1159 then UA 1885 at San Francisco
Cancún → San Francisco → Detroit
Timetable, San Francisco time
19:17UA 1159 from Cancún at the gate
08:26UA 1885 to Detroit leaves the gate
13 h 09 apart on the timetable, overnight
UA 1885 leaves 13 h 09 after UA 1159 arrives on the timetable: more than half a day, so not a connection we count.