Modify settings parameters through database
Note: This answer is tested on Android 4.2.1.



To enable data roaming for default SIM, enter:         

adb shell settings put global data_roaming 1


Changes would take effect immediately. Note that for a dual SIM phone, change the key to data_roaming_2 if roaming has to be toggled for SIM2.