AV 2351 then AA 148 at San Francisco
Denver → San Francisco → New York JFK
Timetable, San Francisco time
19:11AV 2351 from Denver at the gate
15:32AA 148 to New York JFK leaves the gatealso QF 3205, FJ 5007
20 h 21 apart on the timetable, overnight
AA 148 leaves 20 h 21 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.