I would guess at $170 parts and labor, but I cannot find a parts price for the idler pulley. You may need to contact local dealers or repair shops.
https://repairpal.com/hyundai-repair-in-saint-louis-missouri
Click that link for shops near you.
RepairPal Certified shops can diagnose and repair your 1998 Hyundai Sonata. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.