By Nicole Sperling
Updated March 02, 2010 at 08:32 PM EST

Justin Timberlake sure doesn’t have much time for music with his movie career taking off. Fresh off his role in David Fincher’s upcoming Facebook movie The Social Network, Timberlake has signed on opposite Cameron Diaz and Jason Segal in the comedy Bad Teacher from director Jake Kasdan (Walk Hard: The Dewey Cox Story). He will play a substitute teacher, the scion of a watch company fortune. Also joining the cast of the movie that centers on Segal’s character, an irreverent middle school teacher, are Molly Shannon and Eric Stonestreet (Modern Family’s Cameron.) The film written by Lee Eisenberg and Gene Stupnitsky begins production later this month.