UA 3902 then UA 5987 at O'Hare
Rio De Janeiro → Chicago → Kansas City
Timetable, Chicago time
17:01UA 3902 from Rio De Janeiro at the gate
12:40UA 5987 to Kansas City leaves the gate
19 h 39 apart on the timetable, overnight
UA 5987 leaves 19 h 39 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.