AC 4121 then BA 1650 at San Francisco
Ontario → San Francisco → New York JFK
Timetable, San Francisco time
17:50AC 4121 from Ontario at the gate
15:53BA 1650 to New York JFK leaves the gate
22 h 03 apart on the timetable, overnight
BA 1650 leaves 22 h 03 after AC 4121 arrives on the timetable: more than half a day, so not a connection we count.