Voter interest in the midterm elections has surged to records within both parties, helping to drive up President Trump’s approval rating while maintaining the Democrats’ lead as the party most preferred to lead Congress, a new Wall Street Journal/NBC News poll has found.

The findings point to an energized electorate, buffeted by dynamics that bring great uncertainty to the outcome of an election just two weeks away.

Nearly...