LH 9221 then KQ 7267 at San Francisco
Sacramento → San Francisco → New York JFK
Timetable, San Francisco time
15:29LH 9221 from Sacramento at the gate
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
18 h 56 apart on the timetable, overnight
KQ 7267 leaves 18 h 56 after LH 9221 arrives on the timetable: more than half a day, so not a connection we count.