question: Which Cuba Gooding Jr movie was an American romantic comedy film directed by James L. Brooks?
answer: As Good as It Gets
context: Title: Cuba Gooding Jr.
  Passage: 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 "".
  Title: Lies &amp; Illusions
  Passage: 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.).
  Title: As Good as It Gets
  Passage: 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.
citations: As Good as It Gets Cuba Gooding Jr.