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