Ender 3 Auto Home randomly off

Having some issues looking for some help. I have an Ender 3 for the last year or so and everything has been working fine. Randomly my Auto Home on the Z axis has been off.

Whenever I go to a print something like by bed leveling code(one I know has worked before), at the beginning of the print it starts up and goes all the way down and makes contact with the switch. It then goes back up, gets into position to start printing, then it goes up about an inch off of the bed. If I go into motion/Auto-Home it puts it into the correct position. But when I go to print something it stays an inch above the bed.

Any help would be appreciated. Possibly new switch for Z axis?