The nonpartisan Cook Political Report shifted the race in New York’s 17th Congressional District toward incumbent GOP Rep.