The victory ended a three-game New York losing streak and marked the second consecutive solid start for Hughes (4-7), who allowed one run on six hits and struck out three in seven innings of work.
Swarzak worked in relief of starter Samuel Deduno (4-3), who took the loss by giving up three runs on five hits over six innings.
Minnesota scored two of its three runs in the bottom of the ninth on an RBI double by Brian Dozier.
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend
Biologists detail four new deep-sea 'killer sponges'