UA 3926 then AA 148 at San Francisco
Newark → San Francisco → New York JFK
Timetable, San Francisco time
22:56UA 3926 from Newark at the gate
15:32AA 148 to New York JFK leaves the gatealso QF 3205, FJ 5007
16 h 36 apart on the timetable, overnight
AA 148 leaves 16 h 36 after UA 3926 arrives on the timetable: more than half a day, so not a connection we count.