#include <bits/stdc++.h>
using namespace std;
bool flag = 0, flag1 = 0, flag2 = 0;
string t = "abacaba";
int check(string s) {
  long long int x = 0;
  for (long long int i = 0; i < s.size(); i++) {
    if (s.substr(i, 7) == t) {
      x++;
    }
  }
  return x;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int tt = 1;
  cin >> tt;
  while (tt--) {
    long long int n;
    cin >> n;
    string s;
    cin >> s;
    long long int ans = 0;
    ans = check(s);
    if (ans == 0) {
      for (long long int i = 0; i < n - 6; i++) {
        if (s[i] == t[0] || s[i] == '?') {
          flag = 0;
          for (long long int j = 0; j < 7; j++) {
            if (s[j + i] != t[j] && s[i + j] != '?') {
              flag = 1;
              break;
            }
          }
          if (flag == 0) {
            string temp = s;
            for (long long int j = 0; j < 7; j++) temp[i + j] = t[j];
            if (check(temp) == 1) {
              ans++;
              s = temp;
              break;
            }
          }
        }
      }
    }
    if (ans == 1) {
      cout << "Yes\n";
      for (long long int i = 0; i < s.size(); i++) {
        if (s[i] == '?')
          cout << 'd';
        else
          cout << s[i];
      }
      cout << "\n";
    } else
      cout << "No\n";
  }
}
