UA 5997 then AA 9912 at O'Hare
Moline → Chicago → Richmond
Timetable, Chicago time
09:30UA 5997 from Moline at the gate
07:30AA 9912 to Richmond leaves the gate
22 h apart on the timetable, overnight
AA 9912 leaves 22 h after UA 5997 arrives on the timetable: more than half a day, so not a connection we count.