AA 2582 then AA 1140 at Boston
Miami → Boston → Charlotte
Timetable, Boston time
17:05AA 2582 from Miami at the gate
16:49AA 1140 to Charlotte leaves the gate
23 h 44 apart on the timetable, overnight
AA 1140 leaves 23 h 44 after AA 2582 arrives on the timetable: more than half a day, so not a connection we count.