Honda 650 flashing 4×4 and gear light

Ok guys so I finally rode my 650 rincon after a lot of time and money in it. I like it alot! But it has a problem I need to figure out. When I’m driving down the road like a block or 2 the gear light and 4×4 light starts blinking and won’t let me shift out of gear or anything I turn the key off and on and it’s ok for another block or 2. In the woods it doesn’t do it. Anyone know what’s up? Thanks