Congress created the DOJ, It is their job to police it. They can defund or even eliminate it. That's the check on it.
When that person is the president and the Supreme Court has said they are immune from prosecution, you need something else to be a check.