With Election Day three weeks away, New York’s governor and her Republican challenger traded attacks over rising costs, immigration enforcement and their records.