The firing order for a 1998 Ford Ranger depends entirely on the engine. Ford Rangers in 1998 came with several different engines. You need to specify the engine displacement (e.g., 2.3L, 2.5L, 3.0L, 4.0L) to get the correct firing order.
Once you provide the engine size, I can give you the firing order.