Just a thought, might you be having panic attacks ? The latter parts of an attack , after the elevated heart rate and sickening fear, can be momentary 'loss' of consciousness due to hyperventilation
hyperventilation (pathology) -- Britannica Online Encyclopedia.
The thing is with PA is that they arrive out of the blue and as a direct result of some shock or trauma that the person has experienced recently, or even in the distant past.