Gomez, who was replaced by Gerardo Parra, appeared to injure himself on a swing-and-miss in his at-bat in the top of the inning. He later struck out.
The 28-year-old, who is hitting .282 with 21 homers, 65 RBIs and 29 steals in 127 games this season, had a bunt single and scored in the first inning. The two-time All-Star needs three home runs and eight RBIs to eclipse his career highs in those categories, which he set last year.
Gomez hasn't been on the disabled list since 2012.
The Brewers (73-62) had lost four straight entering play on Sunday and had a one game lead on the Cardinals in the NL Central.
- Chris Mascaro