Outrageous Fortune (1987)
Outrageous Fortune is a 1987 American film written by Leslie Dixon, directed by Arthur Hiller, and stars Shelley Long and Bette Midler. The title is taken from Shakespeare's Hamlet ("... the slings and arrows of outrageous fortune, ...").
More at Wikipedia.