can you hire a public attorney for a fee or only be represented if they are appointed by a judge
You can hire you an attorney. If you are in trouble and don't have the money for an attorney, the judge will appoint you an attorney. Everyone in the USA has a right to representation and a fair trial.
you can hire any attorney.