UA 3236 then UA 1034 at Houston
Midland → Houston → Tocumen
Timetable, Houston time
18:30UA 3236 from Midland at the gate
14:27UA 1034 to Tocumen leaves the gate
19 h 57 apart on the timetable, overnight
UA 1034 leaves 19 h 57 after UA 3236 arrives on the timetable: more than half a day, so not a connection we count.