ABS Code 27 indicates that the ABS module has detected a fault in the passenger's airbag on-off light circuit. Possibly the bulb is burnt out. Could be a connector or wiring problem. See if the on-off light wirks first.
RepairPal Certified shops can diagnose and repair your 1998 Mazda B2500. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.