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