AA 1783 then 8C 1231 at Miami
Richmond → Miami → San Juan
Timetable, Miami time
08:20AA 1783 from Richmond at the gate
00:008C 1231 to San Juan leaves the gate
15 h 40 apart on the timetable, overnight
8C 1231 leaves 15 h 40 after AA 1783 arrives on the timetable: more than half a day, so not a connection we count.