UA 2417 then KQ 7267 at San Francisco
Chicago O'Hare → San Francisco → New York JFK
Timetable, San Francisco time
18:56UA 2417 from Chicago O'Hare at the gatealso NZ 9331
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
15 h 29 apart on the timetable, overnight
KQ 7267 leaves 15 h 29 after UA 2417 arrives on the timetable: more than half a day, so not a connection we count.