AA 4618 then B6 1187 at Boston
New York JFK → Boston → Los Angeles
Timetable, Boston time
16:57AA 4618 from New York JFK at the gate
15:45B6 1187 to Los Angeles leaves the gate
22 h 48 apart on the timetable, overnight
B6 1187 leaves 22 h 48 after AA 4618 arrives on the timetable: more than half a day, so not a connection we count.