AA 5198 then AA 5557 at Charlotte
Nashville → Charlotte → Panama City Beach
Timetable, Charlotte time
17:40AA 5198 from Nashville at the gate
16:22AA 5557 to Panama City Beach leaves the gate
22 h 42 apart on the timetable, overnight
AA 5557 leaves 22 h 42 after AA 5198 arrives on the timetable: more than half a day, so not a connection we count.