When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
This sounds like 'The Substitute Wife' (1994).
Not a film, but around the same time. That happens in an episode of the Golden Girls titled Old Boyfriends (1992) from season 7. It is probably the film mentioned, but just thought I would mention this as well, just in case.
Edited by thestormtrooperIs it "My Life Without Me"?
neither of those. Probably 80s or 90s era movie
The film has a dying woman trying to find a replacement wife for her husband. Film cover has a lady in wrapping paper, and sun glasses.