AA 2491 then UA 4606 at O'Hare
Miami → Chicago → Richmond
Timetable, Chicago time
07:47AA 2491 from Miami at the gate
07:44UA 4606 to Richmond leaves the gate
23 h 57 apart on the timetable, overnight
UA 4606 leaves 23 h 57 after AA 2491 arrives on the timetable: more than half a day, so not a connection we count.