Q: changed the crank sensor and coil but still get no spark on 2000 Mazda B4000

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
pulled in the grocery store and when i came out the truck won't start it will crank but won't start no spark.
(1) Answer
Loss of spark (and injector pulse) may be due to a shorted sensor, like the engine coolant temp sensor or the throttle position sensor. This should be visible on a voltmeter. It draws the 5.0 volt sensor reference voltage down too low for the computer to send a spark signal. If you don't have an ohm meter, try disconnectiong sensors one by one, and see if the engine gets spark. Then you'rve found the shorted sensor causing the problem.
No luck, try a Ford or Mazda specialist.
Here's a directory link for you: