I know it's been a while since you posted, but here it comes!
As long as the Medical School is in here
https://imed.faimer.org/
This is very important! Don't forget to check...
Also, don't forget Medical School takes 6 years in Brazil. And study hard to get not only into a public medical school in Brazil, but a renowned one (one that might be known by some residency program director in the US later). I don't know where your family is based, but, you should rather aim to be accepted in a school in São Paulo or Rio de Janeiro, if possible.
Once you're in medical school, try to establish contact with faculty members that know people in the US, preferably in renowned US hospitals, necessarily in the specialty you want to practice later, once you know it. That will increase your chances of doing electives here in the US that will give you clinical experience and good letters of recommendation. And also, when you start shadowing one "big shot" of the specialty in which you're interested, try to do some research with him/her and get published in US journals in advance!
You don't need to do your residency in Brazil. I actually think that would hinder your chance of getting a good position in the US later, because you will have graduated too long ago for some programs, depending on your future chosen specialty. This is also important. Depending on how competitive the specialty you choose is, you may not be able to be accepted in a residency program in the US. My advice (rather a "lifewise" advice): do
what you want.
Where you do it is much more manageable! =)
I recommend applying for the USMLEs as soon as you may and feel comfortable; this is important to give you the chance to apply for a residency position as soon as you graduate. My basic science experience was not the best in Brazil, so, you'll probably need to study a lot on your own on that matter. Keep in mind that there is a lot of paperwork involved in getting your ECFMG certification, and that it can be very time-consuming and require a lot of interaction with your school's registrar (that were not always in the best mood for that, in my opinion - remember what happens in Brazil... in public schools, they are public employees, they don't get fired for being lazy! and they don't mind being indifferent, particularly when it is something that they don't do on a daily basis and that the university doesn't demand them to do)
If you're a Brazilian male (as I infer from the "guy") citizen as well, be aware of the mandatory military service for male medical graduates - and try to escape it (a health issue is always the best way)! That can ruin you...
I know it's a lot of information, it's still very soon, and some of it you may even not understand right now. And I also know, and you should consider this, that eventually, your life may change in so many ways that you decide to stay in Brazil. But if you don't, keep those words in mind, they will prove to be useful!