AS 634 then AA 166 at San Francisco
Las Vegas → San Francisco → New York JFK
Timetable, San Francisco time
17:41AS 634 from Las Vegas at the gatealso QF 3697, FJ 5841, AA 7412, CX 7935, QR 8861
13:34AA 166 to New York JFK leaves the gatealso QF 3211, BA 5604
19 h 53 apart on the timetable, overnight
AA 166 leaves 19 h 53 after AS 634 arrives on the timetable: more than half a day, so not a connection we count.