UA 3902 then UA 2371 at O'Hare
Rio De Janeiro → Chicago → Cancún
Timetable, Chicago time
17:01UA 3902 from Rio De Janeiro at the gate
08:40UA 2371 to Cancún leaves the gate
15 h 39 apart on the timetable, overnight
UA 2371 leaves 15 h 39 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.