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