AA 2811 then AA 2451 at Miami
Nassau → Miami → San José (Costa Rica)
Timetable, Miami time
11:32AA 2811 from Nassau at the gate
10:55AA 2451 to San José (Costa Rica) leaves the gate
23 h 23 apart on the timetable, overnight
AA 2451 leaves 23 h 23 after AA 2811 arrives on the timetable: more than half a day, so not a connection we count.