AA 2984 then 8C 1231 at Miami
Chicago O'Hare → Miami → San Juan
Timetable, Miami time
09:13AA 2984 from Chicago O'Hare at the gate
00:008C 1231 to San Juan leaves the gate
14 h 47 apart on the timetable, overnight
8C 1231 leaves 14 h 47 after AA 2984 arrives on the timetable: more than half a day, so not a connection we count.