Thoracic outlet syndrome will not cause change of consciousness. There is a very rare syndrome called “subclavian steal syndrome” where, if you use your arm too much, the capillaries open (which is typical) and “steal” your blood supply from your head (carotid artery). More commonly is that leaning forward can fill up the barro-ceptor (pressure switch) in your carotid which reduces cardiac output and can cause loss of consciousness. Cardiac arrythymias can do the same thing. Vaso-vagal symptoms can do the same thing. You need a cardiac workup.
Donald Corenman, MD, DC is a highly-regarded spine surgeon, considered an expert in the area of neck and back pain. Trained as both a Medical Doctor and Doctor of Chiropractic, Dr. Corenman earned academic appointments as Clinical Assistant Professor and Assistant Professor of Orthopaedic Surgery at the University of Colorado Health Sciences Center, and his research on spine surgery and rehabilitation has resulted in the publication of multiple peer-reviewed articles and two books.