The 36-year-old also earned a start Sept. 3 against the Dodgers, batting 1-for-3, drawing two walks and scoring a run.
"It's been a couple weeks since I've been in there," Ransom said. "I haven't seen a pitch in a couple weeks so we'll see how it goes."
The D-backs gave Ransom the nod at shortstop Sunday to give John McDonald, who played the previous five games at the position, a day off.
"Johnny Mac has played well but I didn't want to play him again. He's our best defensive shortstop but Cody has got more power and is better against lefties," D-backs manager Kirk Gibson said. "[Ransom] played good for us while he was first here. We didn't want to lose him but there were some reasons why it happened."
In 17 games for the D-backs earlier this season, Ransom batted .269, amassing four homers and 13 RBIs.
"I'm home now. I went to Milwaukee for three months and now I'm home again," Ransom said. "It's not too tough. Milwaukee was nice, got to spend the hot part of the summer there. Now I'm back with this good organization and a good group of guys."