A former pitcher who played for both the Los Angeles Dodgers and Boston Red Sox has made the decision to retire from Major League Baseball.