TK 9588 then AA 166 at San Francisco
Portland (Oregon) → San Francisco → New York JFK
Timetable, San Francisco time
15:15TK 9588 from Portland (Oregon) at the gate
13:34AA 166 to New York JFK leaves the gatealso CZ 1617, QF 3211, BA 5604
22 h 19 apart on the timetable, overnight
AA 166 leaves 22 h 19 after TK 9588 arrives on the timetable: more than half a day, so not a connection we count.