AA 5161 then AA 5050 at Charlotte
Panama City Beach → Charlotte → Pensacola
Timetable, Charlotte time
14:37AA 5161 from Panama City Beach at the gate
14:09AA 5050 to Pensacola leaves the gate
23 h 32 apart on the timetable, overnight
AA 5050 leaves 23 h 32 after AA 5161 arrives on the timetable: more than half a day, so not a connection we count.