I'm not a fan of shocking wells.... Shocking a well can create expensive water quality problems, problems with the pump, drop pipe and cable and you should not run the chlorinated water through any type of water treatment equipment like a softener etc. because that ruins resin etc.. By-pass them and sanitize them later in a proper manner.
Sad to say that extension offices and gov'mint agencies usually get things a bit wrong... like 2 gallons of bleach; you may end up with bleach in the water for a couple weeks. BUT, to determine how much chlorine is needed, you have to know (most) of the demand for chlorine. Iron and manganese 'use' chlorine when the chlorine oxidizes them. Bacteria and biomass places more demand for/on chlorine. That is Total chlorine.
If there is not enough Free chlorine (total chlorine minus the demand) after the demand (use) then there is no disinfection capabilities remaining and you need more chlorine BUT... chlorine raises the pH of the water and with higher pH, chlorine loses its disinfection capabilities. So more is not better.
It takes roughly 3-5 ppm of chlorine to oxidize one ppm of iron, slightly less for each ppm of manganese and less for H2S, and no one can know how much demand biologicals require. So, you test for Free chlorine until you get 1.5+ ppm coming out of the well.
Running the chlorinated water into the plumbing and the letting it sit there for multiple hours.... the required contact time is usually 20 minutes. Plus, there's the demand thingy again and once chlorine is used, it can sit there in the pipes for days and do nothing but make the water smell of bleach.
So... every 30 minutes, run all cold water faucets for say 10-15 seconds each. If you have sufficient Free chlorine in the well, then you are flushing the spent chlorine out of the plumbing and replacing it with potent chlorine. Repeat the 30 minute thing for a few hours and then run off the well with a hose somewhere you don't want vegetation to grow; or don't want to kill grass etc.. Depending on how much iron, the water may stain things a rusty orange.