The Kylie Bunbury starrer has enlisted the "Grandfathered" alum and "Once Upon a Time's" Parker Croft for guest spots, according to The Hollywood Reporter.
Produced in partnership with Major League Baseball, the show centers on Ginny Baker, a young female pitcher, who defies the odds when she becomes the first woman to play in the major leagues.
Peck will play Ross O'Malley, an overeager and "neo-geeky" young techno nerd who works as an analyst on Oscar's (Mark Consuelos) team.
The casting marks a reunion for Peck with "Pitch" creator Dan Fogelman, who also executive produced Fox's "Grandfathered".