AA 2230 then UA 1872 at Houston
Miami → Houston → Minneapolis
Timetable, Houston time
23:58AA 2230 from Miami at the gate
20:05UA 1872 to Minneapolis leaves the gate
20 h 07 apart on the timetable, overnight
UA 1872 leaves 20 h 07 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.