AA 2230 then UA 2339 at Houston
Miami → Houston → Mc Allen
Timetable, Houston time
23:58AA 2230 from Miami at the gate
20:30UA 2339 to Mc Allen leaves the gate
20 h 32 apart on the timetable, overnight
UA 2339 leaves 20 h 32 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.