Short answer: No. Tom Cruise has never appeared in any Shaft film.
The iconic private eye John Shaft has been portrayed by:
Tom Cruise’s action repertoire (Mission: Impossible, Top Gun, Jack Reacher) is distinct from the blaxploitation/neo-noir lineage of Shaft. The confusion might stem from both being 90s/00s action icons, but their cinematic universes have never crossed.