AA 336 then 8C 1231 at Miami
Roatán → Miami → San Juan
Timetable, Miami time
18:04AA 336 from Roatán at the gate
15:008C 1231 to San Juan leaves the gate
20 h 56 apart on the timetable, overnight
8C 1231 leaves 20 h 56 after AA 336 arrives on the timetable: more than half a day, so not a connection we count.