I been expermince problem with my shifter on a cold morning..I have to played with it to get it to go into gear after it warms up no problem.. well ever once in awhile.. do i need to replace the brake switch to correct this problem?

thank you for any info guys!