AA 5161 then AA 6042 at Charlotte
Panama City Beach → Charlotte → Salisbury
Timetable, Charlotte time
14:43AA 5161 from Panama City Beach at the gate
14:40AA 6042 to Salisbury leaves the gate
23 h 57 apart on the timetable, overnight
AA 6042 leaves 23 h 57 after AA 5161 arrives on the timetable: more than half a day, so not a connection we count.