AA 909 then UA 2817 at Miami
Nassau → Miami → Newark
Timetable, Miami time
13:24AA 909 from Nassau at the gate
13:21UA 2817 to Newark leaves the gate
23 h 57 apart on the timetable, overnight
UA 2817 leaves 23 h 57 after AA 909 arrives on the timetable: more than half a day, so not a connection we count.