fsuperga:
The pull-down resistor values must be 5,6Kohm
Yes, something 2k .. 20k is appropriate to pull down safely and only take a little current when VccUSB is active.
The diode is not really necessary, unless you switch pin7 both to OUTPUT and HIGH