Hi @jagan_k,
There isn't a way of resetting the RT1064 to the factory mode per se. However, you can mass erase the flash by following the steps as shown on section "2.1 IDE Mass Erase" of the following knowledge base article:
RT board recovery for debugger connect issues - NXP Community
BR,
Edwin.