UA 3915 then AA 4989 at O'Hare
Miami → Chicago → Lexington
Timetable, Chicago time
22:25UA 3915 from Miami at the gate
21:15AA 4989 to Lexington leaves the gate
22 h 50 apart on the timetable, overnight
AA 4989 leaves 22 h 50 after UA 3915 arrives on the timetable: more than half a day, so not a connection we count.