To change Rotom's form first you have to send Rotom over via the PokTransfer in Route 15, or received it in the trade in the same route, you will be able to take Rotom with you to the Department Store in Route 9. In this store, there is a room with multiple storage boxes. Interact with this box and you'll be able to change your Rotom's form.