FJ 5817 then SQ 1491 at San Francisco
Portland (Oregon) → San Francisco → New York JFK
Timetable, San Francisco time
16:44FJ 5817 from Portland (Oregon) at the gate
06:00SQ 1491 to New York JFK leaves the gate
13 h 16 apart on the timetable, overnight
SQ 1491 leaves 13 h 16 after FJ 5817 arrives on the timetable: more than half a day, so not a connection we count.