can i have this old warrant quashed or just pay a fine or something?

February 8, 2013

More details to this question:

about ten years ago i got caught with about 2 ounces of marijuana 2 pipes and they got me for dui. They took me to the hospital and gave me a drug test…positive results for weed….then they took me to State Police barraks and told me that the only way for me to not go to jail, was to work for them to buy cocaine. i went with the undercover cop and bought 1/2 oz powder cocaine. I watched the cop test it in the car, with test kit. then i left the state to avoid repercussions of said buy . 7 months later they filed all the charges on me and issued a warrant