Adrian Beltre was a home run shy of the cycle for the Rangers, who finished a three-game sweep. Houston had won 10 straight entering the series, but was outscored 20-5 over the three games.
Lewis (2-2) allowed one run and six hits to earn his first win in nearly a month. He struck out six and walked one.
Chris Carter hit a two-run homer in the ninth for the Astros.
Peguero drove in three runs and had the first multihomer game this season by a Rangers player. Texas set a season high for runs and swept a series for the first time since Sept. 22-24 last year against the Astros.