Help remembering a movie?

I watch a movie once but can’t remember the name it was about a kid who blackmails the cops so he can be a cop for a while I think he leveraged his testimony or something like that so he could be a cop for about a week.

Thank you in advance.

Popular: Most Anticipated Movies Of 2017 6 Movies to See in 2016 5 Tips on How to Organize the Perfect Movie Night
More: Horror movie titles? Have you watched the movie survivors ALL-STARS ???? If my older sister takes me to go see a rated r movie and she's 17 would we be able to get in or not? Unbroken similar movies? Teenage movie or part of a show girl goes to a dusty old house and enters a door that lead her to a ball in centuries ago Not sabrina?