Welcome to HCM
Feeling of swallowing sensation and electric shock
like sensation before sleep can occur due to anxiety
disorder or some other condition like B12 deficiency, thyroid
abnormality etc. Most likely such symptoms occur due to anxiety. As per my opinion consult a psychiatrist
for expert opinion and also try relaxation exercises like Breathing Exercises, Muscle Relaxation Exercises. Get your B12 and thyroid hormone levels checked to rule out these conditions.