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