The broom trick is a prank. When somebody is using the toilet, you get a broom out and gently lean it against the door. When they come out, the door swings in and BAM! The broom falls down and smacks the hard floor.
The real "trick" of the broom trick is that most people will feel embarrassed and put the broom away!