2008 Scion Xb. Brake, Abs, and other lights come on randomly while driving. Advice needed

What no are you referring to? Toyota has had multiple recalls and TSBs for the harmonic balancer issue:

Such as this one:

In certain 2004 and 2005 MY Camry, Camry Solara, Highlander, Sienna, certain 2004 MY Avalon, and certain 2006 MY Highlander HV vehicles equipped with a 1MZ-FE or 3MZ-FE V6 engine, the amount of adhesive agent applied between the outer ring and the torsional rubber damper (inner ring) in the crankshaft pulley may be inadequate. If the adhesive is insufficient, there is a possibility that the outer ring may become misaligned and it may not properly rotate with the inner ring, causing noise and/or illumination of the discharge warning light. In some cases, the belt for the power steering pump may become detached from the pulley.

https://www.siennachat.com/forum/19-tsb-s-recalls-warranty-issues/4280-crankshaft-pulley-recall.html?amp=1

Plus this TSB which for 2009-2010 Corolla alternator pulley:

Some 2009 – 2010 model year Corolla vehicles may exhibit a condition where the charging system warning light is “ON”, the alternator is inoperative, and/or there is an abnormal noise from the engine compartment. This may be caused by the pulley not being seated correctly. The pulley has been updated to correct this condition. Use the following procedure to diagnose and repair the alternator.

http://media.fixed-ops.com/toy_servicebulletins/sb0004t11.pdf

/r/MechanicAdvice Thread Parent Link - imgur.com