AA 2230 then UA 1461 at Houston
Miami → Houston → Santa Clara
Timetable, Houston time
23:58AA 2230 from Miami at the gate
18:15UA 1461 to Santa Clara leaves the gate
18 h 17 apart on the timetable, overnight
UA 1461 leaves 18 h 17 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.