Ojeda (6-4) outdueled Ken Hill (6-4) for the second time in 12 days, walking three and striking out six. He also beat Hill, 1-0, in St. Louis with 7 1/3 innings of four-hit ball.
Ojeda's last complete game was Sept. 8, 1989, a 7-2 victory over the Pittsburgh Pirates for the New York Mets. He retired the final 16 Cardinals in order.
With St. Louis leading 2-1 in the sixth, Lenny Harris followed singles by Darryl Strawberry and Eddie Murray by grounding a hit-and-run an RBI single to right. Gary Carter then lined another hit-and-run single to right to end an 0-for-12 slump and put the Dodgers ahead.
Murray capped a four-run seventh inning with a three-run homer off rookie Tim Sherrill.