If all the components are known to be good, the problem must be in the wiring harness or a bad connection / ground somewhere.