The purpose of this study is to determine whether transcranial magnetic stimulation (TMS) is effective in the treatment of suicidal thinking in individuals with a depressive episode and either posttraumatic stress disorder (PTSD), history of mild traumatic brain injury (TBI), or both conditions.