AC 4121 then AF 8607 at San Francisco
Ontario → San Francisco → New York JFK
Timetable, San Francisco time
17:50AC 4121 from Ontario at the gate
11:45AF 8607 to New York JFK leaves the gate
17 h 55 apart on the timetable, overnight
AF 8607 leaves 17 h 55 after AC 4121 arrives on the timetable: more than half a day, so not a connection we count.