A three spd in a wrangler???? That's a cj transmission probably, your engine may be cj also. I had a 4cyl that would die in the rain, was a cracked distributor cap. This could be the coil going bad as well. The coil will get hot and shut the jeep down, usually starts back up after a few minutes...