AA 840 then AA 1882 at Charlotte
Phoenix → Charlotte → Richmond
Timetable, Charlotte time
21:15AA 840 from Phoenix at the gate
20:00AA 1882 to Richmond leaves the gate
22 h 45 apart on the timetable, overnight
AA 1882 leaves 22 h 45 after AA 840 arrives on the timetable: more than half a day, so not a connection we count.