Boldy appeared to tie the game at 9:54, but the Bruins used a coach's challenge for offside and the goal was overturned after video review determined Boldy was offside.
"Game of inches," Dumba said. "Those go the other way … we're in the saddle right where we want to be. And that's not making excuses for us. It just simply shows [the Bruins are] the best in the League. We're right there, we're right there. We made it hard on them."
David Krejci increased the lead to 3-1 at 14:03 after Pavel Zacha won a battle along the boards and poked the puck loose to Krejci, who skated up the slot for the goal.
"It's not often you let in two extra goals and still come out with the win," Ullmark said. "You got to give credit to [video coaches] for catching that. It was huge. They got a couple of momentum swings. We got it right back and we go up to 3-1, which basically speaks for itself.
"It always feels weird because as a goalie [it's] like, 'OK, I let in three now.' All of a sudden, you look up at the clock and realize, 'No, I didn't.'"
Sundqvist got the Wild within 3-2 at 7:17 of the third period, tapping in a backdoor cross-ice feed from Frederick Gaudreau on the power play.
Bergeron made it 4-2 at 12:22 with a shot from the slot, and Trent Frederic scored into an empty net at 18:03 for the 5-2 final.
"I thought Bergeron's line set the tone for us," Bruins coach Jim Montgomery said. "A couple of great forechecking goals. I thought everybody was involved, but I liked our game management. … That unselfishness that we've seen throughout the year was very evident tonight."
NOTES:The 52 wins are the most in a season for the Bruins since 2013-14 (54) and five shy of the most in a season in their history (57 in 1970-71). … Ullmark (110-62-16) played his 200th NHL game. Five active goaltenders have more wins through 200 games: Matt Murray (118), Andrei Vasilevskiy (118), Frederik Andersen (116), Tristan Jarry (113) and Connor Hellebuyck (111). … Bergeron (51 points) reached 50 points for the 14th time, all with the Bruins. Ray Bourque (18) and Johnny Bucyk (17) are the only players with more for Boston. … Boldy had an assist to extend his point-streak to four games (two goals, four assists).