Dominican Republic Attorney General Jean Alain Rodriguez said the hitmen were hired to kill Ortiz's friend, Sixto David Fernandez, instead.
The gunman allegedly told police he got confused inside the nightclub where he shot Ortiz on June 9. Ortiz and Fernandez were sitting together at a table at the moment of the shooting.
Ortiz told Rodriguez he didn't know why anyone would want to shoot him.
Police have arrested and charged 11 suspects in the plot.
On Tuesday, Ortiz's wife, Tiffany Ortiz, said doctors upgraded the former slugger's condition to "good." He underwent surgery in the Dominican Republic before the Red Sox chartered a plane to bring him back to Boston. There he underwent another procedure.