The Astros won their fifth straight, overcoming a two home-run game by Ryan Zimmerman.
Jesus Colome replaced Harahan and faced Lee. Colome threw a wild pitch that allowed Matsui to go to third, from where he scored on Lee's single to shallow center.
That made a winner out of Jose Valverde (4-1), who worked a perfect top of the ninth.
Zimmerman hit a two-run homer in the first and had a solo shot in the sixth that tied the game at 3-3.