No it doesn't work with the ago. You can say I visited Spain five years ago. I went to Spain five years ago.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
I have been to Spain once. -----> I am in US now.
I have been to Spain before -----> I am in US now.