"She is visiting this pupil."
Translation:Ona odwiedza tego ucznia.
yes accusative=genitive is for all men, and for all masculine nouns that are "animated"- mostly people and animals, but sometimes random things also get in that category ( often food and technology- tomato, banana, facebook)
also -a ending masculine nouns have different genitive and accusative, but if they are animated they have accusative=genitive adjectives/possesive pronouns
if masculine noun is not animated it has accusative=nominative.
this is important because declension table will give you either B=M/D or ładny/ładnego; to/tego and you have to choose which pronoun/adjective to use.