UA 3915 then AA 4970 at O'Hare
Miami → Chicago → Birmingham (Alabama)
Timetable, Chicago time
22:25UA 3915 from Miami at the gate
22:00AA 4970 to Birmingham (Alabama) leaves the gate
23 h 35 apart on the timetable, overnight
AA 4970 leaves 23 h 35 after UA 3915 arrives on the timetable: more than half a day, so not a connection we count.