UA 5210 then AA 6239 at O'Hare
Albany (New York) → Chicago → Idaho Falls
Timetable, Chicago time
12:40UA 5210 from Albany (New York) at the gate
10:29AA 6239 to Idaho Falls leaves the gate
21 h 49 apart on the timetable, overnight
AA 6239 leaves 21 h 49 after UA 5210 arrives on the timetable: more than half a day, so not a connection we count.