AA 1478 then AA 5791 at Charlotte
Houston → Charlotte → Salisbury
Timetable, Charlotte time
18:30AA 1478 from Houston at the gate
17:40AA 5791 to Salisbury leaves the gate
23 h 10 apart on the timetable, overnight
AA 5791 leaves 23 h 10 after AA 1478 arrives on the timetable: more than half a day, so not a connection we count.