Connor Dewar and Ryan Reaves each had a goal and an assist, and Mason Shaw had two assists for the Wild (38-21-8), who extended their point streak to 13 games (10-0-3), which is tied for the longest in their history (2015-16). Gustavsson made 18 saves.
Minnesota is one point behind the Dallas Stars, who have one game in hand, for first in the Central Division.
"We're finding ways to get points, and that's huge," Shaw said. "Obviously, we wanted to finish with two [points] here tonight, but [the] feeling of this locker room is really good. We've got a good thing going, and we're not going to stop any time soon."
Ritchie cut it to 4-3 at 18:48 of the second period, driving to the net and scoring off a give-and-go with Keller at the right post.
Keller then tied it 4-4 at 12:06 of the third period. Jack McBain came out of the penalty box, chased down a loose puck in the right circle and passed to Keller, who scored from the slot.
"We were loose [defensively]. We've got to dial it back in a little bit," Minnesota coach Dean Evason said. "Regardless of how well we think we played defensively, we still gave up too many goals. It's awesome that we're scoring some goals, but we got to keep it out of the net."