Catalyzes the aminoacylation of histidyl-tRNA in both the cytoplasm and the mitochondrion. ATP + L-histidine + tRNA(His) = AMP + diphosphate + H(+) + L-histidyl-tRNA(His) Belongs to the class-II aminoacyl-tRNA synthetase family.