Question: Which Cuba Gooding Jr movie was an American romantic comedy film directed by James L. Brooks?
Context: Cuba M. Gooding Jr. (born January 2, 1968) is an American actor.  He gained his breakthrough role as Tre Styles in "Boyz n the Hood" (1991); he appeared in "A Few Good Men" (1992), "The Tuskegee Airmen" (1995), "Outbreak" (1995) and "Jerry Maguire" (1996), for which he won the Academy Award for Best Supporting Actor.  He gained later attention for his roles as Carl Brashear in "Men of Honor", and in Michael Bay's WWII epic "Pearl Harbor" (2001) as Doris Miller.  His other notable films include "As Good as It Gets" (1997), "American Gangster" (2007), "Lee Daniels' The Butler" (2013), and "Selma" (2014), playing civil rights attorney Fred Gray.  In 2016, he portrayed O.J. Simpson in the FX drama series "", and co-starred in the sixth season of the FX anthology series "American Horror Story", subtitled "". What Love Is is a 2007 romantic comedy film, written and directed by Mars Callahan, starring Cuba Gooding Jr., Matthew Lillard, Sean Astin, Anne Heche, and Gina Gershon. Lies & Illusions is a 2009 film directed by Tibor Takács starring Christian Slater and Cuba Gooding Jr..  A self-help author (Slater) becomes mixed up in a theft that involves a criminal (Gooding, Jr.). One in the Chamber is a 2012 American action film directed by William Kaufman, and starring Cuba Gooding Jr., and Dolph Lundgren.  Gooding and Kaufman had previously worked together on the 2011 film "The Hit List".  The film was released on direct-to-DVD in the United States on August 21, 2012. Rat Race is a 2001 American ensemble comedy film directed by Jerry Zucker, written by Andy Breckman, and starring Rowan Atkinson, Whoopi Goldberg, Cuba Gooding Jr., Jon Lovitz, Kathy Najimy, Lanai Chapman, Breckin Meyer, Amy Smart, Seth Green, Vince Vieluf, Wayne Knight, John Cleese, Dave Thomas, Dean Cain, and Kathy Bates.  The film has a plot similar to the films "It's a Mad, Mad, Mad, Mad World" and "Scavenger Hunt".  Its main plot revolves around six teams of people who are given the task of racing 563 miles from a Las Vegas casino to a Silver City, New Mexico train station, where a storage locker contains a duffel bag filled with $2 million; the first person to reach the locker wins and gets to keep the money. Radio is a 2003 American semi-biographical sports drama film directed by Mike Tollin, and inspired by the 1996 "Sports Illustrated" article "Someone to Lean On" by Gary Smith.  The article and the movie are based on the true story of T. L. Hanna High School football coach Harold Jones (Ed Harris) and a mentally challenged young man, James Robert "Radio" Kennedy (Cuba Gooding Jr.).  The film co-stars Debra Winger and Alfre Woodard.  It was filmed primarily in Walterboro, South Carolina because its buildings and downtown core still fit the look of the era the film was trying to depict. Red Tails is a 2012 American war film directed by Anthony Hemingway in his feature film directorial debut, and starring Terrence Howard and Cuba Gooding Jr. The film is about the Tuskegee Airmen, a group of African-American United States Army Air Forces (USAAF) servicemen during World War II.  The characters in the film are fictional, although based on real individuals.  The film was produced by Lucasfilm and released by 20th Century Fox.  This was Cuba Gooding Jr.'s first theatrically released film in five years since his starring role in 2007's "Daddy Day Camp". As Good as It Gets is a 1997 American romantic comedy film directed by James L. Brooks.  It stars Jack Nicholson as a misanthropic and obsessive-compulsive novelist, Helen Hunt as a single mother with a chronically ill son, and Greg Kinnear as a gay artist.  The screenplay was written by Mark Andrus and Brooks.  The paintings were created for the film by New York artist Billy Sullivan. Jerry Maguire is a 1996 American romantic comedy-drama sports film written, produced and directed by Cameron Crowe, and stars Tom Cruise, Cuba Gooding Jr. and Renée Zellweger.  Produced in part by long time "Simpsons" producer James L. Brooks, it was inspired by sports agent Leigh Steinberg, who acted as Technical Consultant on the crew.  It was released in North American theaters on December 13, 1996, produced by Gracie Films and distributed by TriStar Pictures. Boat Trip is a 2002 American romantic comedy film directed by Mort Nathan in his feature film directorial debut, and starring Cuba Gooding Jr., Horatio Sanz, Vivica A. Fox, Roselyn Sánchez and Roger Moore.  The film was released in the United States on March 21, 2003.
Answer: As Good as It Gets