Thanks for writing to us.
The description you have given favors more the insertion of needle into a nerve
rather than an AVM (AV malformation). The AV malformation has certain characteristic features and will not cause pain or burning sensation in thumb.
I would recommend you to consult your internist or cardiologist to get reassurance.