Tim Raines Jr. led off with a double off the scoreboard for his first major league hit. Brian Roberts sacrificed and Matt DeWitt (0-2) intentionally walked Jeff Conine and Chris Richard to load the bases.
DeWitt struck out former Blue Jay Tony Batista on a 3-2 pitch and Pedro Borbon came on to face Anderson, who came in batting just .199 and reportedly will be released at the end of the season.
Anderson worked the count full before drawing a walk that pushed home Raines with his first major league run.
The rally made a winner of Willis Roberts (9-9), who pitched a hitless ninth.
Celebrity Couples of 2014 [PHOTOS]