Answer
Armageddon, the 1998 film, featured Keith David in the role of General Kimsey, the commander of the space shuttle mission tasked with preventing an asteroid from colliding with Earth. David's character played a pivotal role in the film, providing leadership and support to the crew as they faced numerous challenges and dangers in their mission to save humanity.