If a person make a vow in the way you describe, he/she should keep the vow. If unable to, ask God, Heavan (ntuj), Yawm Saub, for forgiveness and seriously repent so you can be release from your vow.
In the Bible, God takes vow seriously. Jesus warns not to make vows and just let your yes be "yes" and no be "no".