May be the ignition switch.
This one is a little odd - Does the motor start OK at first with the switch? If so, the starter drive is OK and the drive gear would move up if the switch was turning the starter motor on, and the starter would turn the motor over... What kind of motor is this? Is it an HPDI motor - if so it could be the compressor running. Any chance it's a stuck solenoid on the trim/tilt motor? Did you try tilting the motor up or down when it was making the humming sound?