I agree with mrslam and think its beneficial for you to foul in that scenario, and it isn't even close. If they take a 3 with 6 seconds on the clock that ends up hitting the rim, you get a halfcourt shot for the win at best.
My guess is if you're losing with a less than 8 second difference or so it automatically fouls.
7.0.3