The Switch is a 2010 American romantic comedy film directed by Josh Gordon and Will Speck. Based on a screenplay written by Allan Loeb, the film, formerly titled The Baster, was inspired by the short story "Baster" by Jeffrey Eugenides. This was originally published in The New Yorker in 1996. The film stars Jennifer Aniston, Jason Bateman, and child actor Thomas Robinson. Patrick Wilson, Juliette Lewis, and Jeff Goldblum appear in key supporting roles.