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