Detroit agreed to terms with former Red Sox left-handed starter Eduardo Rodriguez on a five-year contract