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