AA 2230 then UA 4043 at Houston
Miami → Houston → Panama City Beach
Timetable, Houston time
23:58AA 2230 from Miami at the gate
19:55UA 4043 to Panama City Beach leaves the gate
19 h 57 apart on the timetable, overnight
UA 4043 leaves 19 h 57 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.