I am confused, hurt and destroyed, for my guitar makes a crackling sound every now and then when switching pickups (and occasionally when adjusting volume)

I thought it had to be the wiring failing, bad soldering since I was 16 when I installed the DiMarzios on the S5470, but no, even after rewiring the pickups, the issue remained.

What gives? Which part of my hardware needs changing?

Ibanez S5470 w/ DiMarzio Crunch Lab & Liquifire
Ibanez RG1527
Ibanez SA160
Ibanez E-Acoustic
Selfmade Telecaster w/ DiMarzio Twang King & Chopper T

"Maybe one day we'll wake up and this will all just be a dream"