AA 1225 then AA 1057 at Boston
Miami → Boston → Phoenix
Timetable, Boston time
13:55AA 1225 from Miami at the gate
13:11AA 1057 to Phoenix leaves the gate
23 h 16 apart on the timetable, overnight
AA 1057 leaves 23 h 16 after AA 1225 arrives on the timetable: more than half a day, so not a connection we count.