UA 5892 then SQ 1491 at San Francisco
Monterey → San Francisco → New York JFK
Timetable, San Francisco time
07:26UA 5892 from Monterey at the gate
06:00SQ 1491 to New York JFK leaves the gate
22 h 34 apart on the timetable, overnight
SQ 1491 leaves 22 h 34 after UA 5892 arrives on the timetable: more than half a day, so not a connection we count.