GateConnections

AA 2230 then UA 1002 at Houston

Miami → Houston → Quito

Timetable, Houston time

23:58AA 2230 from Miami at the gate

18:15UA 1002 to Quito leaves the gate

18 h 17 apart on the timetable, overnight

UA 1002 leaves 18 h 17 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.