On way is to apply a checkbox control to your layer, keyframe the control on and off, and add an expression like this to your property:
control = effect(“Checkbox Control”)(“Checkbox”) ;
if (control == 1){
wiggle(5,50); // your expression goes here
}else{
value;
}
Dan