UA 3902 then UA 4166 at O'Hare
Rio De Janeiro → Chicago → Madison
Timetable, Chicago time
17:01UA 3902 from Rio De Janeiro at the gate
10:45UA 4166 to Madison leaves the gate
17 h 44 apart on the timetable, overnight
UA 4166 leaves 17 h 44 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.