That was one of my favorites!  It is "The Box" starring Cameron Diaz and Frank Langella.

I remember when the movie came out and I recognized it right away just from the ad.   I also loved 'A Choice of Witnesses'. Great irony and twist. I plan to watch 'The Box' tonight!