Identity Crisis (1989)
Identity Crisis is a 1989 comedy film directed by Melvin Van Peebles. Written by Mario Van Peebles, the film is about a rapper who winds up sharing his body with the soul of a dead fashion designer, switching between personalities every time he is struck on the head. It was released direct-to-video in 1991.
More at Wikipedia.