1. I recommend you to follow the diagram of Fig-1; where,Button is connected at DPin-2 and not DPin-1 as it is engaged with Serial Monitor/PC/IDE.

=Figure-1:
2. Upload the following sktch and report the result.
#define Switch 3
#define Button 2
#define PWM 11
void setup()
{
Serial.begin(9600);
pinMode(Switch, INPUT);
pinMode(Button, INPUT);
}
void loop()
{
if(digitalRead(Switch) == LOW) //Switch is opened
{
analogWrite(PWM, 255); //100% duty cycle ~= 5V
}
if(digitalRead(Switch) == HIGH) //Swicth is closed
{
analogWrite(PWM, 128); //50% dut cycle ~=2/5V
}
if(digitalRead(Button) == HIGH) //Button is pushed
{
analogWrite(PWM, 0); //0% duty cycle ~=0V
}
}