Ok, this is an older film that's somewhere between 1960s-1980s...not sure.

There's a guy who can have out-of-body experience, or send his spirit out of his body, or can astral project, in order to cause vengeance against those who had wronged him. He is finally caught and put in jail. Some other character comes to him, a friend/cop/reporter (unsure), who asks the one with this ability to take care of someone who had wronged him (killed his wife maybe, or something) and the guy tells him: "First, I'll take care of me. Then, I'll take care of you."
So he continues to do what he does behind jail/bars.

It's believed that the main character is African American.

That's all I have. Hope ya'll can help.