My dad has some stock that he bought in my name but with him as the custodian. When he passes away, does it transfer to me? Can I have my name removed so it goes to mom?

He bought it many years ago when I was a minor. I’m 50s now. I’m just trying to find the best way to avoid taxes.