UA 1665 then QR 701 at Boston
San Francisco → Boston → New York JFK
Timetable, Boston time
07:56UA 1665 from San Francisco at the gate
20:26QR 701 to New York JFK leaves the gate
12 h 30 apart on the timetable
QR 701 leaves 12 h 30 after UA 1665 arrives on the timetable: more than half a day, so not a connection we count.