UA 5938 then KQ 7267 at San Francisco
North Bend → San Francisco → New York JFK
Timetable, San Francisco time
15:14UA 5938 from North Bend at the gate
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
19 h 11 apart on the timetable, overnight
KQ 7267 leaves 19 h 11 after UA 5938 arrives on the timetable: more than half a day, so not a connection we count.