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