VA 8576 then AA 166 at San Francisco
Las Vegas → San Francisco → New York JFK
Timetable, San Francisco time
19:03VA 8576 from Las Vegas at the gate
13:34AA 166 to New York JFK leaves the gatealso QF 3211, BA 5604
18 h 31 apart on the timetable, overnight
AA 166 leaves 18 h 31 after VA 8576 arrives on the timetable: more than half a day, so not a connection we count.