AA 264 then 8C 1231 at Miami
Mexico City → Miami → San Juan
Timetable, Miami time
17:02AA 264 from Mexico City at the gate
15:008C 1231 to San Juan leaves the gate
21 h 58 apart on the timetable, overnight
8C 1231 leaves 21 h 58 after AA 264 arrives on the timetable: more than half a day, so not a connection we count.