AA 5986 then AA 817 at Philadelphia
Manchester → Philadelphia → Miami
Timetable, Philadelphia time
12:49AA 5986 from Manchester at the gate
11:45AA 817 to Miami leaves the gate
22 h 56 apart on the timetable, overnight
AA 817 leaves 22 h 56 after AA 5986 arrives on the timetable: more than half a day, so not a connection we count.