This is a colorful historic Narrative, in a Monty Python kind of way, but it is untrue. The Church never taught as dogma that the earth is the center of the Universe, and nobody was ever put to death for any particular hypothesis about the structure of the Solar System.
Other than that, OK. :o)
Tell that to Giordano Bruno.