No, it isn’t. It’s an infinitive verb, consisting of the particle “to” followed by the base form. Since a preposition can only be followed by a noun, we would need to use the gerund in a prepositional phrase, for example: “(accustomed) to teaching”
June 14, 2020
Nope, it isn't. "To teach" is the infinitive form of the verb.