Brake-checking is one of the worst behaviors on the road. Don’t do it.
If someone follows your bumper too closely for comfort, don’t touch your brakes; instead, let off your accelerator a touch to slow your car, by <1 mph.
The driver of the trailing car with quickly need to hit their brakes to avoid a collision. And they’ll, if they have any awareness at all, adjust to a more suitable follow-distance.
It’s traffic Inception: they get off your rear-end, averting a collision; and you don’t feed into their provocation. Win-Win.
If you would like to pass someone — safely — communicate that: give them a quick, double-flash of your high beams as you’re approaching.