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