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