UA 1257 then KQ 7267 at San Francisco
St Louis → San Francisco → New York JFK
Timetable, San Francisco time
10:36UA 1257 from St Louis at the gatealso NZ 9700
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
23 h 49 apart on the timetable, overnight
KQ 7267 leaves 23 h 49 after UA 1257 arrives on the timetable: more than half a day, so not a connection we count.