So just for clarification, is it making the noise when the trans in gear or in neutral?

If it’s making the noise in neutral and stops when you put it in gear then I’d absolutely look at the ignition switch/starter electrical circuit and the starter itself.