BSB is a small airport. However, I have had the worst experiences with bagage claim there. We're talkin >1 hour.
GOL and TAM are not in the same alliances, so it's unlikely you'll get to check the luggage all the way.
You need to check in for the international flight 2 hours in advance, so you will be cutting it very, very close.