UA 348 then MQ 3452 at Miami
Houston → Miami → Tampa
Timetable, Miami time
18:20UA 348 from Houston at the gate
17:50MQ 3452 to Tampa leaves the gate
23 h 30 apart on the timetable, overnight
MQ 3452 leaves 23 h 30 after UA 348 arrives on the timetable: more than half a day, so not a connection we count.