Hill began his big night with the 1,000th hit of his eight-year career -- a ground-rule double in the first.
He then singled and scored while Arizona was putting together five runs in the third, produced a two-run homer in the fourth and tripled in a run in the sixth. Hill hit for the cycle June 18 in a 7-1 win over Seattle.
Goldschmidt's home run in the third was one of his four hits and helped Arizona coast to its 16th win in 24 games.
Ian Kennedy (6-7) gave up three runs, only one of them earned, on six hits in seven innings to get the win.
Randy Wolf (2-6) took the loss, surrendering eight runs on nine hits in four frames. It was Milwaukee's fifth loss in six games and Wolf made his 11th straight start without a victory.