No, you do not need to perform ghusl (a full body purification ritual) if you casually touch your private parts.
Ghusl is required in specific circumstances, such as after sexual intercourse, ejaculation, or the completion of menstruation. A casual touch, such as a brush while getting dressed, does not necessitate ghusl. The reference material clarifies that such incidental contact does not require redoing ghusl.