UA 1811 then KQ 7267 at San Francisco
Chicago O'Hare → San Francisco → New York JFK
Timetable, San Francisco time
16:20UA 1811 from Chicago O'Hare at the gatealso AC 4153
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
18 h 05 apart on the timetable, overnight
KQ 7267 leaves 18 h 05 after UA 1811 arrives on the timetable: more than half a day, so not a connection we count.