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