I changed my name and still have a valid visa in my old name, can I still use that visa?

The name on the Brazil visa has to match the one in your current valid passport. If they are different, you need to apply for a new visa and pay all of the required fees.
 

Get Your Brazil Visa Here