Just because a solenoid makes noise doesn’t mean it is functioning. I chased this with an old f100 I had, I took the solenoid apart and the coil had burnt up, it would make a click like sound that was the electricity arcing, it would output some current but not near enough to engage the starter.