UA 5197 then AA 5519 at O'Hare
Albany (New York) → Chicago → Louisville
Timetable, Chicago time
15:45UA 5197 from Albany (New York) at the gate
14:42AA 5519 to Louisville leaves the gate
22 h 57 apart on the timetable, overnight
AA 5519 leaves 22 h 57 after UA 5197 arrives on the timetable: more than half a day, so not a connection we count.