UA 3904 then KQ 7281 at San Francisco
Denver → San Francisco → New York JFK
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
12:24KQ 7281 to New York JFK leaves the gate
13 h 34 apart on the timetable, overnight
KQ 7281 leaves 13 h 34 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.