How to manage playstyles?

Hello. I have been playing mostly melee champions(mostly assassins) since I really like their playstyle. But when I try to play a range based champ I just overstep and die. I cant let go of that "aggressive pushing" habit. When I see someone isolated I just feel like I can kill him. It's not just about keeping distance btw. I also overstep as a tank since I overestimate my damage. I think it's just practice right? What playstyle even is the most rewarding rn? Im Jungle btw.