Your question asked how to root a mytouch 4g. There are tons and tons of threads on that, especially in the mytouch 4g development section. If you have a mytouch 4g slide, however, it is still in the works but should be ready to go shortly!
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?