You might be thinking of the film "The Cable Guy" (1996), where Jim Carrey plays an obsessive cable guy named "Chip", who goes to extreme lengths to befriend his new client (played by Matthew Broderick). There is a scene where Chip dresses up as Death and attempts to scare his client, but it's not a central plot point.
It's possible you're thinking of a different film or mixing up the actors.