The "This is Us" star will play Lopez's boyfriend in the film being helmed by Peter Segal, according to The Hollywood Reporter.
The story follows a big-box store employee, who gets a chance to prove to Madison Avenue that street smarts are as valuable as a college graduate.
The film also features actors Leah Remini, Vanessa Hudgens, Dan Bucatinsky, Annaleigh Ashford and Freddie Stroma.
The script is written by Justin Zackham and Elaine Goldsmith-Thomas, who are also producing the project along with Lopez and Benny Medina.