AA 5930 then AA 9976 at Philadelphia
Rochester → Philadelphia → Richmond
Timetable, Philadelphia time
07:40AA 5930 from Rochester at the gate
06:30AA 9976 to Richmond leaves the gate
22 h 50 apart on the timetable, overnight
AA 9976 leaves 22 h 50 after AA 5930 arrives on the timetable: more than half a day, so not a connection we count.