Correct

摇身一变

/ yáo shēn yī biàn / 
Strokes

Definition

to change shape in a single shake/fig. to take on a new lease of life

Example

Definition

give oneself a shake and change into another form—metamorphose in an instant; suddenly change one's identity

1
Zhè
这
míng
名
dítè
敌特
yáoshēnyībiàn
摇身一变
  
,
hūrán
忽然
chéngwéi
成为
àiguózhě
爱国者
  
。

As if by magic, the enemy agent transferred himself into a ‘patriot'.