Okay, I plugged in the light to see if it works, and it comes on, but it stays on -- it's no longer controlled by the switch. I'm trying to follow your description above but I'm a little confused. What exactly is supposed to be wired to what? I've got black, white, and green on the fixture. I've got black, white, ground, and red from the switch's Romex. And I've got black, white, and ground from the other outlet's Romex.
Sorry for all the stupid questions!