I am assuming that this person is not practicing these things, has heartfelt repentance and prayed to God for forgiveness.
We have all done or said things that God has forgiven us for. We are commanded to preach and teach others. Matthew 28:19, 20 (The great commission).
If God forgives them, we also must forgive. This can be hard if the person has done it to us or one of ours or something we view as extremely vile and disgusting.
God still has requirements.
It the person still has the weakness toward children, of course you would not want to place them in a position that would temp them to return to the former course.
The admonition given here at 1 Timothy can apply to anyone in a teaching position that presides over others.
1 Timothy 3:1-10 says:
1. Here is a trustworthy saying: Whoever aspirers to be an overseer desires a Nobel task.
2. Now the overseer is to be above reproach, faithful to his wire, temperate, self-controlled, respectable, hospitable, able to teach,
3. not given to drunkenness, not violent but gentle, not quarrelsome, not a lover of money.
4. He must manage his own family well and see that his children obey him, and he must do so in a manner of full respect.
5. (If anyone does not know how to manage his own family, how can he take care of God's church?)
6. He must not be a recent convert, or he may become conceited and fall under the same judgment as the devil.
7. He must also have a good reputation with outsiders, so that he will not fall into disgrace and into the devil's trap.
8. In the same way, deacons are to be worthy of respect, sincere, not indulging in wine, and not pursuing dishonest gain.
9. They must keep hold of the deep truths of the faith with a clear conscience.
10. They must first be tested; and then if there is nothing against them, let them serve as deacons.If individuals do not qualify, there are many things they can do that will not directly involve them with the young.