AV 2104 then AA 166 at San Francisco
San Luis Obispo → San Francisco → New York JFK
Timetable, San Francisco time
19:56AV 2104 from San Luis Obispo at the gate
13:34AA 166 to New York JFK leaves the gatealso CZ 1617, QF 3211, BA 5604
17 h 38 apart on the timetable, overnight
AA 166 leaves 17 h 38 after AV 2104 arrives on the timetable: more than half a day, so not a connection we count.