DL 5733 then AA 2764 at Boston
New York JFK → Boston → Miami
Timetable, Boston time
11:15DL 5733 from New York JFK at the gate
11:10AA 2764 to Miami leaves the gate
23 h 55 apart on the timetable, overnight
AA 2764 leaves 23 h 55 after DL 5733 arrives on the timetable: more than half a day, so not a connection we count.