• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Cameron Diaz, Justin Timberlake and Jason Segel in 'Bad Teacher' - trailer

Cameron Diaz, Jason Segel and Justin Timberlake appear in a still from their 2011 film, 'Bad Teacher.' (Columbia Tristar)

Cameron Diaz and Justin Timberlake, who dated from 2003 to 2006, star in the upcoming comedy "Bad Teacher," whose trailer was recently released.

In the movie, Diaz plays a foul-mouthed junior high teacher who tries to seduce a substitute teacher (Timberlake) after her sugar daddy dumps her. Jason Segel co-stars as the school's gym teacher who has the hots for Diaz's character.

Timberlake's personal love life took a tumble recently, as it was announced that he and actress Jessica Biel recently broke up after four years of dating. The couple's rep confirmed the split to OnTheRedCarpet.com in a joint statement.

"Addressing the media speculation regarding Jessica Biel and Justin Timberlake's relationship," the statement read. "We are confirming that they mutually have decided to part ways. The two remain friends and continue to hold the highest level of love and respect for each other."

Timberlake and "Black Swan" actress Mila Kunis star in the new comedy movie "Friends With Benefits," which is set for release on July 22, 2011.

Diaz recently co-starred in the superhero movie, "The Green Hornet," which starred Seth Rogen and was released on Jan. 14, 2011. The actress told OnTheRedCarpet.com that in preparation for the role, she had to "get smart."

"Bad Teacher" is set for release on June 24, 2011. Watch the trailer below.

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)