AA 4782 then B6 9002 at Boston
Buffalo → Boston → Bedford
Timetable, Boston time
12:07AA 4782 from Buffalo at the gate
11:00B6 9002 to Bedford leaves the gate
22 h 53 apart on the timetable, overnight
B6 9002 leaves 22 h 53 after AA 4782 arrives on the timetable: more than half a day, so not a connection we count.