DL 5036 then AA 5159 at Charlotte
New York JFK → Charlotte → Panama City Beach
Timetable, Charlotte time
22:16DL 5036 from New York JFK at the gate
22:05AA 5159 to Panama City Beach leaves the gate
23 h 49 apart on the timetable, overnight
AA 5159 leaves 23 h 49 after DL 5036 arrives on the timetable: more than half a day, so not a connection we count.