AA 867 then AA 2899 at Miami
Charlotte Amalie → Miami → New York JFK
Timetable, Miami time
17:47AA 867 from Charlotte Amalie at the gate
14:28AA 2899 to New York JFK leaves the gate
20 h 41 apart on the timetable, overnight
AA 2899 leaves 20 h 41 after AA 867 arrives on the timetable: more than half a day, so not a connection we count.