AA 604 then AA 2451 at Miami
Washington National → Miami → San José (Costa Rica)
Timetable, Miami time
12:14AA 604 from Washington National at the gate
10:55AA 2451 to San José (Costa Rica) leaves the gate
22 h 41 apart on the timetable, overnight
AA 2451 leaves 22 h 41 after AA 604 arrives on the timetable: more than half a day, so not a connection we count.