It sounds like it may have a loose connection or possibly a body control module that is going bad. It will eventually get worse and act up more often. When it happens more often, get it in to be checked.