Ann is the subject of the sentence
has taught is the verb phrase
students is the direct object
junior high are adjectives that modify the direct object students
for several years is a prepositional phrase that modifies the verb taught
The second, third, and fourth are correct.
No. The comma isn’t necessary; therefore , it should be removed from the sentence.