Mayor Michael R. Bloomberg and prosecutors pledged yesterday to seek the maximum penalties in Wednesday 's beating of a black man in Howard Beach , Queens , as a second white man was charged in the attack and another was taken into custody as a witness .