AA 2230 then UA 2198 at Houston
Miami → Houston → San Antonio
Timetable, Houston time
23:58AA 2230 from Miami at the gate
21:45UA 2198 to San Antonio leaves the gate
21 h 47 apart on the timetable, overnight
UA 2198 leaves 21 h 47 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.