AA 5872 then AA 1954 at Charlotte
Erie → Charlotte → San Diego
Timetable, Charlotte time
09:15AA 5872 from Erie at the gate
08:25AA 1954 to San Diego leaves the gate
23 h 10 apart on the timetable, overnight
AA 1954 leaves 23 h 10 after AA 5872 arrives on the timetable: more than half a day, so not a connection we count.