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