Becoming the Witch in Left 4 Dead is not something available through normal play. Unless you are a hacker using unauthorized modifications, there is no legitimate way to take control of the Witch.
In standard matches, the Witch remains an AI-controlled special infected, so your best approach is to deal with her carefully rather than try to play as her.