The Democratic Party has substantially widened its margin in party identification over the Republican Party since the last presidential election and has made notable gains in many of this year’s political battleground states.