AA 5995 then AA 6042 at Charlotte
Erie → Charlotte → Salisbury
Timetable, Charlotte time
14:56AA 5995 from Erie at the gate
14:40AA 6042 to Salisbury leaves the gate
23 h 44 apart on the timetable, overnight
AA 6042 leaves 23 h 44 after AA 5995 arrives on the timetable: more than half a day, so not a connection we count.