Is it an electronic shift, or manual shift with shifter on floor? If it is electrical it may be a bad switch causing it to drop in neutral. If it is mechanical it might be a bad transfer case shift fork. Get it checkd out to make sure as transfer cases are expensive to repair.