At some point in (I think) the 90s, I saw an episode of something like Outer Limits or Twilight Zone where nobody was allowed to have more than average intelligence. Smarter children had to wear headsets which inhibited them from being too intelligent, administering minor electric shocks if intellectual thought was detected.
I can remember a final (or near final) scene of somebody watching his suicide and being upset but not remembering why because of the headset.
Can anybody identify the show and episode?