John Rivera, whose time as the head of the Miami-Dade police officers’ union came to a contentious end, has joined nearly a dozen other candidates vying for the position of Miami-Dade County sheriff in 2024 — an office that hasn’t existed in decades.