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