UA 3902 then AA 3695 at O'Hare
Rio De Janeiro → Chicago → Bismarck
Timetable, Chicago time
17:01UA 3902 from Rio De Janeiro at the gate
09:59AA 3695 to Bismarck leaves the gate
16 h 58 apart on the timetable, overnight
AA 3695 leaves 16 h 58 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.