The Dodgers and Ryan Brasier agreed to a two-year, $9-million contract to keep the reliever in Los Angeles after his resurgent performance in 2023.