AA 1587 then B6 503 at JFK
Phoenix → New York → San Juan
Timetable, New York time
05:43AA 1587 from Phoenix at the gate
19:30B6 503 to San Juan leaves the gate
13 h 47 apart on the timetable
B6 503 leaves 13 h 47 after AA 1587 arrives on the timetable: more than half a day, so not a connection we count.