The Dodgers agreed to a contract Tuesday with right-hander Shelby Miller, who pitched in four games for the Giants in 2022. The deal is worth a guaranteed $1.5 million.