UA 2785 then 8C 1231 at Miami
Newark → Miami → San Juan
Timetable, Miami time
12:09UA 2785 from Newark at the gate
01:458C 1231 to San Juan leaves the gate
13 h 36 apart on the timetable, overnight
8C 1231 leaves 13 h 36 after UA 2785 arrives on the timetable: more than half a day, so not a connection we count.