Here is the story:
"Sanders fans have uncovered a cameo appearance he made in a 1999 indie film, “My X-Girlfriend’s Wedding Reception.”
He does a persuasive comic turn as a rabbi who
still isn’t over the Dodgers baseball team’s departure from Brooklyn,
and who lets it get in the way of wishing the newlyweds well."
http://www.timesofisrael.com/bernie-sanders-once-played-a-rabbi-in-a-90s-film/