I was amazed someone would know my name.
In that situation, can would be used?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
Yes, although it's a matter of context more than anything. Just taking the sentence by itself, it's better to have:
I was amazed that someone would know my name.
If you can give more context, I can provide a better answer for you.