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