QF 3657 then UA 3883 at San Francisco
New York JFK → San Francisco → Boston
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
23:40UA 3883 to Boston leaves the gate
23 h 41 apart on the timetable, overnight
UA 3883 leaves 23 h 41 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.