UA 5732 then AA 9912 at O'Hare
Raleigh-Durham → Chicago → Richmond
Timetable, Chicago time
13:05UA 5732 from Raleigh-Durham at the gate
07:30AA 9912 to Richmond leaves the gate
18 h 25 apart on the timetable, overnight
AA 9912 leaves 18 h 25 after UA 5732 arrives on the timetable: more than half a day, so not a connection we count.