The DOJ is part of the executive branch and is instrumental in setting national standards and investigating police departments. FBI as well. The executive branch has a fair amount of sway in how policing is done in the US and largely can help set direction, set policies, investigate departments and "clean house".
for example: https://www.justice.gov/opa/pr/justice-department-announces-...
Who is President is very much matters. You clearly see this in the Reagan/Bush/Clinton years, where mass incarceration was in vogue, at the direction of the Attorney General (William Barr), who is part of the executive branch, leading the charge.