The answer is Space Jam, a 1996 live-action/animated sports comedy film starring Michael Jordan and the Looney Tunes characters. Ewing made a cameo appearance as himself in the film, playing a basketball game against the Looney Tunes.
Dunking through History: Test Your Knowledge About Patrick Ewing!