Is Brazil a Muslim country or not?

No. While there are some Muslims in Brazil (~36,000), the dominant religion in Brazil is Catholicism. Additionally, the Brazilian Constitution of 1891 made Brazil a secular state with no official religion; it had previously been Catholicism.