AA 835 then AA 5791 at Charlotte
Boston → Charlotte → Salisbury
Timetable, Charlotte time
19:29AA 835 from Boston at the gate
17:40AA 5791 to Salisbury leaves the gate
22 h 11 apart on the timetable, overnight
AA 5791 leaves 22 h 11 after AA 835 arrives on the timetable: more than half a day, so not a connection we count.