Replacing a dimmer switch to a normal switch
Red's just another hot(-ish)

For the switch going to where the dimmer was:


Green wire to green screw
Each of the free black wires to a brass screw (the switch doesn't care)


For the dimmer going to where the switch was:


Bare wire to the green screw (the screw that was hooked to the green wire)
Black wire to one of the brass screws
Red wire to the other brass screw


If the dimmer doesn't like it, switch the black and red wires around -- this shouldn't be an issue for a regular dimmer though.