Rubicon stuck in gear
Well, according to the blinks you indicate, it is giving a current code and an earlier code. Current code is 5 and earlier code is 10. I believe 5 is the Angle sensor system and 10 is the code for Fail-safe relay circuit malfunction. Don't hold me to that. Hondamechanic would have much more knowledge on this than I.
From reading your original post again, I'd say to check the elec. connectors and make sure they are all dry. If these connections get water in them, it can cause this kind of problem.
America will never be destroyed from the outside. If we falter, and lose our freedoms, it will be because we destroyed ourselves. ~Abraham Lincoln
2007 Honda Foreman 500 ES 4X4
2008 Honda Rancher 420 ES 4X4
3 2007 Tao Tao 110 quads (for the kids)
2001 Yamaha Road Star 1600