AA 4717 then UA 3378 at O'Hare
Madison → Chicago → Richmond
Timetable, Chicago time
12:39AA 4717 from Madison at the gate
08:30UA 3378 to Richmond leaves the gate
19 h 51 apart on the timetable, overnight
UA 3378 leaves 19 h 51 after AA 4717 arrives on the timetable: more than half a day, so not a connection we count.