I disagree about 5 seconds being a long time...24 seconds isn't a long time. If no one is moving in the offense and it falls upon you to "make something happen" then 5 seconds is nothing. If he passes to someone else (or if the ball is passed to him, which happens a lot) and the clock is under 5 seconds then you have to shoot NOW.
Raja was spotted up waiting for the pass and his defender was floating between him and doubling.
*Edited to add that Boston's agressiveness at the end didn't help either; lots of players were making mistakes because of that too.