UA 3902 then AA 1347 at Houston
Toronto → Houston → Miami
Timetable, Houston time
08:27UA 3902 from Toronto at the gate
07:00AA 1347 to Miami leaves the gate
22 h 33 apart on the timetable, overnight
AA 1347 leaves 22 h 33 after UA 3902 arrives on the timetable: more than half a day, so not a connection we count.