AA 5987 then AA 5557 at Charlotte
Gainesville → Charlotte → Panama City Beach
Timetable, Charlotte time
16:30AA 5987 from Gainesville at the gate
16:22AA 5557 to Panama City Beach leaves the gate
23 h 52 apart on the timetable, overnight
AA 5557 leaves 23 h 52 after AA 5987 arrives on the timetable: more than half a day, so not a connection we count.