Catcher Jason Castro is returning to his first major league team by reaching a two-year, $7 million contract with the Astros, sources confirmed to ESPN.