AA 4047 then UA 6060 at O'Hare
Richmond → Chicago → Lancaster
Timetable, Chicago time
18:59AA 4047 from Richmond at the gate
16:55UA 6060 to Lancaster leaves the gate
21 h 56 apart on the timetable, overnight
UA 6060 leaves 21 h 56 after AA 4047 arrives on the timetable: more than half a day, so not a connection we count.