AC 1646 then AA 1268 at Miami
Toronto → Miami → Detroit
Timetable, Miami time
19:50AC 1646 from Toronto at the gate
19:40AA 1268 to Detroit leaves the gate
23 h 50 apart on the timetable, overnight
AA 1268 leaves 23 h 50 after AC 1646 arrives on the timetable: more than half a day, so not a connection we count.