Brake cleaner is a broad area.
From what I have seen, most Brake cleaners have methanol and acetone (they have them listed under various IUPAC nomenclature). As such, if the stock is nylon, then you should not have any problems (as nylon is very resisant to alcohols and acetone).
If the stock is some other plastic (polyethylene, polycarbonate, etc.) I would be very careful.
One additional problem of using these alcohol and acetone brake cleaners on your weapons is, acetone and methanol evaporate quickly. This causes excessive cooling of the metal, which resulting in condensation. If you follow with a quick application of oil, no problems. Just be aware that you are introducing water onto clean, stripped metal.
The Brake cleaner from "Advance Auto Parts," is different from most of the rest that I have come across. It uses a single, tri-chlorinated compound that does not evaporate away as quickly, so does not suffer from the same problems (it does clean great). Since it is a cholorinated compound, you should be careful with it on nylon (although nylon is fairly resistent, so it is likey that a quick exposure will not cause problems). As far as other plastics, I would check first as any organic solvent is a potential plastic solvent. A little dab in an out of the way place could save a disaster.
Course, in the end, if you don't have to, why risk it!
I see you asked about Carb cleaner. Carb cleaner is usually methanol and acetaone (or other combustable solvents--chlorinated compounds tend to be flame resistant, so no good in a carb cleaner), so any plastic short of nylon will likey turn to goo. brake cleaner is likely safer, likely!