From my experience, best brands for locomotives:
Kato, Altlas, Proto, Genesis, Spectrum, more or less in that order. You will find they are priced accordingly.
For rolling stock:
Intermountain, Proto, Atlas, Branchline, Red Caboose, then Athearn, MDC and others. For me, the most telling...