Sounds like a couple of problems. Braking causing shaking can be pad deposits on the rotors / warped rotors, or excessive play in the tie rods. Could also be a bent wheel.
Wandering left and right could be worn tie rods, and or pitman arm, Is this a truck?
I'd get it on a rack and check out the front end, and the brakes.