You're likely remembering the 1990 TV movie The Secret Life of Archie's Wife (also aired as Archie's Wife).
The film is a lighthearted comedy about faith, temptation, and second chances—typical of Burnett's late-career TV movies. Mandel's angel is more Beetlejuice than Clarence (from It's a Wonderful Life), providing comic counterpoint to Burnett's earnestness.
Not a theatrical release; aired on CBS. No casino-heist plot, but the gambling/angel dynamic matches your memory.