UA 1216 then UA 1036 at Houston
Miami → Houston → Baltimore
Timetable, Houston time
19:08UA 1216 from Miami at the gate
18:40UA 1036 to Baltimore leaves the gate
23 h 32 apart on the timetable, overnight
UA 1036 leaves 23 h 32 after UA 1216 arrives on the timetable: more than half a day, so not a connection we count.