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