I saw this movie about 20 Years ago. I thought Gene Wilder was the main actor, but i could not find the movie in his list.
I only remember some parts of the story:
The main actor (a white actor, Gene Wilder-like) is adopted by a black family. When they tell him that he is adopted, he is totally surprised. He wants to find his one way, leaves his family and works as mechanic in a garage or a gas station.
Meanwhile a crazy person wants to kill somebody, he opens the phonebook and selects a random name, it is the name of the main actor. He tries to kill the main person several times, but always fails.
I am not 100% sure if it was in this movie, but I think the main character does also win a great jackpot in a lottery and gets rich.
I also think he meets a girl, falls in love and get here at the end.
Year: between 1975-1990
Country: I guess it was an american movie