The New York Democratic congresswoman would narrowly defeat the likely Republican nominee 51 percent to 49 percent.