DL 977 then QF 3654 at San Francisco
Boston → San Francisco → New York JFK
Timetable, San Francisco time
11:41DL 977 from Boston at the gatealso LY 4578
07:00QF 3654 to New York JFK leaves the gate
19 h 19 apart on the timetable, overnight
QF 3654 leaves 19 h 19 after DL 977 arrives on the timetable: more than half a day, so not a connection we count.