AA 2230 then UA 2157 at Houston
Miami → Houston → Salt Lake City
Timetable, Houston time
23:58AA 2230 from Miami at the gate
20:10UA 2157 to Salt Lake City leaves the gate
20 h 12 apart on the timetable, overnight
UA 2157 leaves 20 h 12 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.