Yes and No.
The explanation is right but you probably mean ortho- and para-, according your explanation.
Anyway, para- nitroaniline will be formed in preference, due to the steric hindrance of the nitro- group. Do not forget that this is a nucleophile attack that preferably occurs to the less hindered site.
Hint: NH2- attacking to benzyne, creates an electron rich carbon atoms, at the one of it's ortho- positions.