According to my English teacher, he changed from Catholic to Protestant
I think that William shakespeare was catholic.
Yes. lots.
The religion in England was Anglican
All of the characters in Romeo and Juliet were Roman Catholics. That was and is the religion of the vast majority of Italians. It was not the official religion of England in Shakespeare's day, and Shakespeare was officially an Anglican, as everyone had to be by law.
Christianity was the main religion in his time
There is some scholarly debate over Shakespeare's religion. While on paper he was classified as an Anglican many of his works have Catholic Sympathies and images leading many experts to believe that Shakespeare was actually a practicing Catholic and not Anglican.
Church of England. Everyone in England was, officially.
The Church of England
Shylock, a character in Shakespeare's The Merchant of Venice, was a Jew.
It depended where you were. In China, it was Confucianism. In North Africa, it was Islam. In Italy, it was Catholicism. And in England, where Shakespeare was, the only legal religion was the Church of England, a form of Protestant Christianity.
First, to be clear, Shakespeare had only one wife, not wives. Anne Shakespeare, like everyone else in England at the time, belonged to the Church of England.
Shakespeare, like everyone in England at his time was required to be by law, was a member of the church of England, in which church he was baptised, married and buried. What his opinions on that were he was smart enough not to disclose.