I'm suspecting the blue nozzle wires.
Sure looks to me that those two blue wires take a torturous path around & through the nozzle...and have spade ends that plug in to blades where the neck meets the vacuum body. Those power blade will be wired in parallel to the fan motor.
"I know it ant in the vacuum cause i touched one of the prongs that plug into the nozzle at the bottom of the vacuum and i got zapped." There's yer answer then...
If the neck is worn then those blue wires could easily be stretched too far or be flexed one too many times and break the wire inside the blue insulation. It's also possible that the spade/wire crimp is corroded.
You've got to test each length of wiring run between connection points all the way from brush motor, to fan motor, to switch in the handle to isolate where the break occurs. Work backwards. With the vacuum unplugged from the wall, please.
A simple circuit tester is a battery and a flashlight bulb and two bare leads. One of them plastic pocket flashlights you can take apart and attach leads to the switch contacts. Touch the leads to both ends of the wire run and the bulb should light up, indicating that section of wiring is good. Move on to the next run. and so on...until the bulb doesn't light up. Bingo!