Short Answer
Yes, but an intention just means that you know in your heart you will fast. If you change your mind and decide not to fast, you must change your mind back and have the intention to fast any time between sunset (of the previous day) and mid-day (on the day of fasting).
Version 0.25
Shaykh Mustafa Umar