All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad,
, is His Slave and Messenger.
It is stipulated in vowing to be binding that it is done with a wording that indicates commitment. What you have mentioned does not indicate that unless you intended to make it a vow when uttering it, in which case it will be a vow according to some scholars.
Accordingly, what you have done of reciting Soorah (Chapter) Yaa Seen five times for hair patch is sufficient and the mistake you mentioned is of no effect.
Allaah Knows best.