The lamp assembly is simply mounted by fasteners. There are no published instructions removing and installing a headlight assembly for this vehicle. Perhaps consult someone locally experienced in auto repair or body repair?
RepairPal Certified shops can diagnose and repair your 1998 Toyota Tacoma. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.