UA 2309 then KQ 7267 at San Francisco
San Diego → San Francisco → New York JFK
Timetable, San Francisco time
13:07UA 2309 from San Diego at the gatealso AC 4450, AZ 4481, VA 8434, LH 9223
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
21 h 18 apart on the timetable, overnight
KQ 7267 leaves 21 h 18 after UA 2309 arrives on the timetable: more than half a day, so not a connection we count.