Is it true that the Imams can forgive you for yours sins? And if so, will I be taken out of the fold of shiism if I don’t believe in this?

Allah is the only one who forgives sin, the Imam intercedes for you to get you forgiveness.